您的浏览器已禁用 JavaScript。
跳过导航链接
概览
程序包
类
树
已过时
索引
帮助
上一个字母
下一个字母
框架
无框架
所有类
A
B
C
D
E
F
G
I
J
K
L
M
O
P
Q
R
S
T
U
V
W
S
saveMyBitmap(Bitmap)
- 类 中的静态方法com.gprinter.command.
GpUtils
sendDataImmediately(Vector<Byte>)
- 类 中的方法com.gprinter.io.
GpDevice
方法说明 立即发送数据
SERIAL
- 类 中的静态变量com.gprinter.io.
PortParameters
SerialPort
-
com.gprinter.io
中的类
SerialPort(Context)
- 类 的构造器com.gprinter.io.
SerialPort
setBacklight(boolean)
- 类 中的方法com.gprinter.io.
CustomerDisplay
是否开启背光灯
setBacklight(boolean)
- 类 中的方法com.gprinter.jni.
Jni
开启背光
setBacklightTimeout(int)
- 类 中的方法com.gprinter.io.
CustomerDisplay
设置背光超时时间
setBacklightTimeout(int)
- 类 中的方法com.gprinter.jni.
Jni
设置背光超时时间
setBluetoothAddr(String)
- 类 中的方法com.gprinter.io.
PortParameters
setBrightness(byte)
- 类 中的方法com.gprinter.io.
CustomerDisplay
设置客显亮度,亮度范围为 0 ~ 5
setBrightness(byte)
- 类 中的方法com.gprinter.jni.
Jni
设置亮度
setCommandType(int)
- 类 中的方法com.gprinter.io.
GpDevice
setContrast(byte)
- 类 中的方法com.gprinter.io.
CustomerDisplay
设置客显对比度,对比度范围为 0 ~ 21
setContrast(byte)
- 类 中的方法com.gprinter.jni.
Jni
设置对比度
setCursorPosition(int, int)
- 类 中的方法com.gprinter.io.
CustomerDisplay
setCursorPosition(int, int)
- 类 中的方法com.gprinter.jni.
Jni
设置光标位置
setCursorVisible(boolean)
- 类 中的方法com.gprinter.io.
CustomerDisplay
隐藏光标
setCursorVisible(boolean)
- 类 中的方法com.gprinter.jni.
Jni
隐藏光标
setDataReceived(GpEquipmentPort.OnDataReceived)
- 类 中的方法com.gprinter.io.
GpEquipmentPort
setInputBebindCursor(byte[], int)
- 类 中的方法com.gprinter.jni.
Jni
当前光标位置输入内容,光标跟随输入的字体
setInputInCurrentCursor(byte[], int)
- 类 中的方法com.gprinter.jni.
Jni
当前光标位置输入内容,不改变光标位置
setIpAddr(String)
- 类 中的方法com.gprinter.io.
PortParameters
setMethod(int)
- 类 中的方法com.gprinter.command.
GpUtils
setPath(String)
- 类 中的方法com.gprinter.io.
GpEquipmentPort
setPortNumber(int)
- 类 中的方法com.gprinter.io.
PortParameters
setPortOpenState(boolean)
- 类 中的方法com.gprinter.io.
PortParameters
setPortType(int)
- 类 中的方法com.gprinter.io.
PortParameters
setReceiveDataEnable(boolean)
- 类 中的方法com.gprinter.io.
GpDevice
setReceivedListener(GpEquipmentPort.OnDataReceived)
- 类 中的方法com.gprinter.io.
CustomerDisplay
设置监听接口
setState(int)
- 类 中的方法com.gprinter.io.
GpPort
Set the current state of the connection
setTextBebindCursor(String)
- 类 中的方法com.gprinter.io.
CustomerDisplay
在光标后输入文字,光标移动,在输入文字后面
setTextCurrentCursor(String)
- 类 中的方法com.gprinter.io.
CustomerDisplay
在当前光标后输入文字,光标不移动
setUsbDeviceName(String)
- 类 中的方法com.gprinter.io.
PortParameters
SharedPerferencesCreat(Context, String, String)
- 类 中的静态方法com.gprinter.save.
SharedPreferencesUtil
保存配置
SharedPreferencesUtil
-
com.gprinter.save
中的类
XML的存读,用于存储简单数据
SharedPreferencesUtil()
- 类 的构造器com.gprinter.save.
SharedPreferencesUtil
SMPRINT_SERVICE
- 类 中的静态变量com.gprinter.service.
GpPrintService
STATE_CONNECTED
- 类 中的静态变量com.gprinter.io.
GpDevice
STATE_CONNECTING
- 类 中的静态变量com.gprinter.io.
GpDevice
STATE_COVER_OPEN
- 类 中的静态变量com.gprinter.command.
GpCom
STATE_ERR_OCCURS
- 类 中的静态变量com.gprinter.command.
GpCom
STATE_INVALID_PRINTER
- 类 中的静态变量com.gprinter.io.
GpDevice
STATE_LISTEN
- 类 中的静态变量com.gprinter.io.
GpDevice
STATE_NO_ERR
- 类 中的静态变量com.gprinter.command.
GpCom
STATE_NONE
- 类 中的静态变量com.gprinter.io.
GpDevice
STATE_OFFLINE
- 类 中的静态变量com.gprinter.command.
GpCom
STATE_PAPER_ERR
- 类 中的静态变量com.gprinter.command.
GpCom
STATE_TIMES_OUT
- 类 中的静态变量com.gprinter.command.
GpCom
STATE_VALID_PRINTER
- 类 中的静态变量com.gprinter.io.
GpDevice
stop()
- 类 中的方法com.gprinter.io.
BluetoothPort
Stop all threads
stop()
- 类 中的方法com.gprinter.io.
EthernetPort
Stop all threads
stop()
- 类 中的方法com.gprinter.io.
UsbPort
Stop all threads
swichMode(byte)
- 类 中的方法com.gprinter.io.
CustomerDisplay
选择模式
swichMode(byte)
- 类 中的方法com.gprinter.jni.
Jni
选择模式
A
B
C
D
E
F
G
I
J
K
L
M
O
P
Q
R
S
T
U
V
W
跳过导航链接
概览
程序包
类
树
已过时
索引
帮助
上一个字母
下一个字母
框架
无框架
所有类